import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import { VueAxios } from './utils/request'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';

//渲染根组件App.vue，参见./App.vue文件
createApp(App)
    //基于vuex的根状态，参见./store/index.js文件
    .use(store)
    .use(VueAxios)
    .use(ElementPlus)
    //指定路由，参见./router文件
    .use(router)
    //将渲染的dom挂到 public/index.html文件中的id为app的标签下
    .mount('#app');
